package com.basic.auth.dao.mapper;


import com.basic.auth.dao.model.AuthRoleFunc;
import com.basic.auth.dao.model.AuthRoleFuncExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 权限角色功能关系
 * @Author LPP
 * @Date 2018/8/14 9:44
 **/
@Mapper
public interface AuthRoleFuncMapper {
    Long countByExample(AuthRoleFuncExample example);

    int deleteByExample(AuthRoleFuncExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AuthRoleFunc record);

    int insertSelective(AuthRoleFunc record);

    List<AuthRoleFunc> selectByExample(AuthRoleFuncExample example);

    AuthRoleFunc selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AuthRoleFunc record, @Param("example") AuthRoleFuncExample example);

    int updateByExample(@Param("record") AuthRoleFunc record, @Param("example") AuthRoleFuncExample example);

    int updateByPrimaryKeySelective(AuthRoleFunc record);

    int updateByPrimaryKey(AuthRoleFunc record);
}
